package com.smartleanx.module.hrm.controller.admin.risk.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Schema(description = "管理后台 - 风险员工 Response VO")
@Data
public class RiskEmployeeRespVO {

    @Schema(description = "员工id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "性别", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer sex;

    @Schema(description = "员工号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String employeeNo;

    @Schema(description = "员工状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer state;

    @Schema(description = "部门id")
    private Long deptId;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "岗位名称")
    private String postName;

    @Schema(description = "风险项", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<RiskRespVO> riskList = new ArrayList<>();
}
